package com.hockeo.shared.rpc.command;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Represents a question that is asked to somebody (server or not does not matter). A
 * question is like a command that can be used e.g. in GWT/RPC calls. This interface is
 * inspired by the GWT best practices talk (command pattern) presented at Google I/O 2009.
 *
 * @param <T> the type of the answer that is expected for this question
 * @version $Id$
 * @author jjanke
 */
public interface ICommand<T extends IResponse> extends IsSerializable
{

}
